.woocommerce-checkout-payment img.wcpay-icon {
    margin: 0 !important;
    max-width: 40px !important;
    padding-left: 3px !important;
}

.woocommerce-checkout-payment img.wcpay-icon:first-child {
    margin-right: 5px !important;
}

.woocommerce-checkout-payment .kz-imgs {
    margin-bottom: 20px;
}

/*.payment_method_kz>label:first-child{*/
/*    font-size: 16px!important;*/
/*    font-weight: 600!important;*/
/*}*/
.woocommerce-checkout-payment label[for='payment_method_kz'] {
    font-size: 15px !important;
    font-size: medium;
    /* padding: 5px 0 0 0; */
    font-weight: 600 !important;
    /* padding-left: 15px; */
    /* text-transform: uppercase; */
    /* display: inline-block; */
    /* width: 100%; */
    /* display: flex !important;
    align-items: center;
    justify-content: space-between; */
    color: var(--wd-title-color);
    text-transform: var(--wd-title-transform);
    /* font-weight: var(--wd-title-font-weight); */
    font-style: var(--wd-title-font-style);
    font-family: var(--wd-title-font);
}

.woocommerce-checkout-payment label[for='payment_method_kz']::before {
    display: none;
}

/* .wccom-payment-type .wccom-payment-type-icon {
    width: 48px;
} */


.woocommerce-checkout-payment label[for='payment_method_kz'] img {
    margin: 0;
    width: 60px;
    float: right;
}

@media only screen and (min-width: 769px) {
    label[for='payment_method_kz'] img {
        margin: 0;
        width: 64px;
    }
}

#payment {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    ;
}

.woocommerce-checkout-payment .p-Input-input {
    margin-bottom: 5px !important;
    padding: 0.75rem !important;
    background-color: #fff !important;
    border-radius: 5px !important;
    transition: background 0.15s ease, border 0.15s ease, box-shadow 0.15s ease, color 0.15s ease !important;
    border: 1px solid #e6e6e6 !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02) !important;
    color: #000 !important;
    height: 47px !important;
}

.woocommerce-checkout-payment .p-Input-input::placeholder {
    color: #999;

}

.woocommerce-checkout-payment .p-Input-input:focus {
    outline: 0 !important;
    border-color: hsla(210, 96%, 45%, 50%) !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02), 0 0 0 3px hsla(210, 96%, 45%, 25%), 0 1px 1px 0 rgba(0, 0, 0, 0.08) !important;
}

.woocommerce-checkout-payment .p-CardNumberInput {
    position: relative;
}

.woocommerce-checkout-payment .p-CardNumberInput img {
    margin: 0 !important;
}

.woocommerce-checkout-payment .p-Fade {
    --p-fadeEnterDuration: 0.4s;
    --p-fadeEnterDelay: 0s;
    --p-fadeExitDuration: 0.2s;
    --p-fadeExitDelay: 0s;
}

.woocommerce-checkout-payment .p-CardIcons {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    background: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    outline: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

.woocommerce-checkout-payment .p-CardBrandIcons,
.p-CardIcons {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.woocommerce-checkout-payment .Input,
.p-FauxInput {
    padding: var(--p-spacing3);
    background-color: rgb(255, 255, 255);
    border-radius: var(--borderRadius);
    transition: background 0.15s ease, border 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    border: 1px solid var(--p-colorBackgroundDeemphasize10);
    box-shadow: none;
    border-bottom-color: rgba(60, 40, 97, 0.25);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-left-color: rgba(60, 40, 97, 0.25);
    border-left-style: solid;
    border-left-width: 2px;
    border-right-color: rgba(60, 40, 97, 0.25);
    border-right-style: solid;
    border-right-width: 2px;
    border-top-color: rgba(60, 40, 97, 0.25);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top-style: solid;
    border-top-width: 2px;
    color: rgb(51, 51, 51);
    font-family: Arial;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 24px;
    outline-offset: 0px;
    padding-bottom: 14px;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 10px;
    text-decoration: none solid rgb(51, 51, 51);
    text-shadow: none;
    text-transform: none;
    outline: 0px none rgb(51, 51, 51);
}
.woocommerce-checkout-payment img.wcpay-icon {
    margin: 0 !important;
    max-width: 40px !important;
    padding-left: 3px !important;
}

.woocommerce-checkout-payment img.wcpay-icon:first-child {
    margin-right: 5px !important;
}

.woocommerce-checkout-payment .kz-imgs {
    margin-bottom: 20px;
}

/*.payment_method_kz>label:first-child{*/
/*    font-size: 16px!important;*/
/*    font-weight: 600!important;*/
/*}*/
.woocommerce-checkout-payment label[for='payment_method_kz'] {
    font-size: 15px !important;
    font-size: medium;
    /* padding: 5px 0 0 0; */
    font-weight: 600 !important;
    /* padding-left: 15px; */
    /* text-transform: uppercase; */
    /* display: inline-block; */
    /* width: 100%; */
    /* display: flex !important;
    align-items: center;
    justify-content: space-between; */
    color: var(--wd-title-color);
    text-transform: var(--wd-title-transform);
    /* font-weight: var(--wd-title-font-weight); */
    font-style: var(--wd-title-font-style);
    font-family: var(--wd-title-font);
}

.woocommerce-checkout-payment label[for='payment_method_kz']::before {
    display: none;
}

/* .wccom-payment-type .wccom-payment-type-icon {
    width: 48px;
} */


.woocommerce-checkout-payment label[for='payment_method_kz'] img {
    margin: 0;
    width: 60px;
    float: right;
}

@media only screen and (min-width: 769px) {
    label[for='payment_method_kz'] img {
        margin: 0;
        width: 64px;
    }
}

#payment {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    ;
}

.woocommerce-checkout-payment .p-Input-input {
    margin-bottom: 5px !important;
    padding: 0.75rem !important;
    background-color: #fff !important;
    border-radius: 5px !important;
    transition: background 0.15s ease, border 0.15s ease, box-shadow 0.15s ease, color 0.15s ease !important;
    border: 1px solid #e6e6e6 !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02) !important;
    color: #000 !important;
    height: 47px !important;
}

.woocommerce-checkout-payment .p-Input-input::placeholder {
    color: #999;

}

.woocommerce-checkout-payment .p-Input-input:focus {
    outline: 0 !important;
    border-color: hsla(210, 96%, 45%, 50%) !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02), 0 0 0 3px hsla(210, 96%, 45%, 25%), 0 1px 1px 0 rgba(0, 0, 0, 0.08) !important;
}

.woocommerce-checkout-payment .p-CardNumberInput {
    position: relative;
}

.woocommerce-checkout-payment .p-CardNumberInput img {
    margin: 0 !important;
}

.woocommerce-checkout-payment .p-Fade {
    --p-fadeEnterDuration: 0.4s;
    --p-fadeEnterDelay: 0s;
    --p-fadeExitDuration: 0.2s;
    --p-fadeExitDelay: 0s;
}

.woocommerce-checkout-payment .p-CardIcons {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    background: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    outline: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

.woocommerce-checkout-payment .p-CardBrandIcons,
.p-CardIcons {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.woocommerce-checkout-payment .Input,
.p-FauxInput {
    padding: var(--p-spacing3);
    background-color: rgb(255, 255, 255);
    border-radius: var(--borderRadius);
    transition: background 0.15s ease, border 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    border: 1px solid var(--p-colorBackgroundDeemphasize10);
    box-shadow: none;
    border-bottom-color: rgba(60, 40, 97, 0.25);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-left-color: rgba(60, 40, 97, 0.25);
    border-left-style: solid;
    border-left-width: 2px;
    border-right-color: rgba(60, 40, 97, 0.25);
    border-right-style: solid;
    border-right-width: 2px;
    border-top-color: rgba(60, 40, 97, 0.25);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top-style: solid;
    border-top-width: 2px;
    color: rgb(51, 51, 51);
    font-family: Arial;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 24px;
    outline-offset: 0px;
    padding-bottom: 14px;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 10px;
    text-decoration: none solid rgb(51, 51, 51);
    text-shadow: none;
    text-transform: none;
    outline: 0px none rgb(51, 51, 51);
}

.woocommerce-checkout-payment .p-CardBrandIcons,
.p-CardIcons {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.woocommerce-checkout-payment .p-CardBrandIcons {
    opacity: 0;
    z-index: 2;
}

.woocommerce-checkout-payment .p-CardBrandIcons--loaded {
    opacity: 1;
}

.woocommerce-checkout-payment .payment_method_kz .p-CardBrandIcons {
    transition: opacity .5s ease;
}

.woocommerce-checkout-payment .u-visually-hidden {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}



.woocommerce-checkout-payment .p-CardBrandIcons-item {
    padding-right: 0.2em;
    -webkit-transform: translate(0);
    -ms-transform: translate(0);
    transform: translate(0);
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    will-change: transform;
}

.woocommerce-checkout-payment .p-CardBrandIcons-more {
    height: 1.3em;
    padding-right: 0;
    position: relative;
    width: 1.95em;
}

.woocommerce-checkout-payment .payment_method_kz .p-CardBrandIcons-item {
    transition: opacity .7s cubic-bezier(.19, 1, .22, 1), -webkit-transform .7s cubic-bezier(.19, 1, .22, 1);
    transition: opacity .7s cubic-bezier(.19, 1, .22, 1), transform .7s cubic-bezier(.19, 1, .22, 1);
    transition: opacity .7s cubic-bezier(.19, 1, .22, 1), transform .7s cubic-bezier(.19, 1, .22, 1), -webkit-transform .7s cubic-bezier(.19, 1, .22, 1);
}

.woocommerce-checkout-payment .p-CardBrandIcon,
.p-CardErrorIcon svg {
    display: block;
    height: auto;
    width: 1.95em;
}

.woocommerce-checkout-payment .p-CardErrorIcon,
.p-CardKnownIcon {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform: scale(.85);
    -ms-transform: scale(.85);
    transform: scale(.85);
    will-change: transform;
    z-index: 2;
}

.woocommerce-checkout-payment .p-CardErrorIcon {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}



.woocommerce-checkout-payment .p-CardBrandIcons-more .p-CardBrandIcon {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform: scale(.85);
    -ms-transform: scale(.85);
    transform: scale(.85);
    will-change: transform;
}

.woocommerce-checkout-payment .p-CardBrandIcons-more .p-CardBrandIcon--visible {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.woocommerce-checkout-payment .payment_method_kz .p-CardErrorIcon,
.payment_method_kz .p-CardKnownIcon {
    transition: opacity .6s cubic-bezier(.19, 1, .22, 1), -webkit-transform .6s cubic-bezier(.19, 1, .22, 1);
    transition: opacity .6s cubic-bezier(.19, 1, .22, 1), transform .6s cubic-bezier(.19, 1, .22, 1);
    transition: opacity .6s cubic-bezier(.19, 1, .22, 1), transform .6s cubic-bezier(.19, 1, .22, 1), -webkit-transform .6s cubic-bezier(.19, 1, .22, 1);
}

.woocommerce-checkout-payment .p-CardBrandIcons-more .p-CardBrandIcon {
    transition: opacity 1.2s cubic-bezier(.19, 1, .22, 1), -webkit-transform 1.2s cubic-bezier(.19, 1, .22, 1);
    transition: opacity 1.2s cubic-bezier(.19, 1, .22, 1), transform 1.2s cubic-bezier(.19, 1, .22, 1);
    transition: opacity 1.2s cubic-bezier(.19, 1, .22, 1), transform 1.2s cubic-bezier(.19, 1, .22, 1), -webkit-transform 1.2s cubic-bezier(.19, 1, .22, 1);
}

.woocommerce-checkout-payment .payment_method_kz .p-CardBrandIcons-item {
    transition: opacity .7s cubic-bezier(.19, 1, .22, 1), -webkit-transform .7s cubic-bezier(.19, 1, .22, 1);
    transition: opacity .7s cubic-bezier(.19, 1, .22, 1), transform .7s cubic-bezier(.19, 1, .22, 1);
    transition: opacity .7s cubic-bezier(.19, 1, .22, 1), transform .7s cubic-bezier(.19, 1, .22, 1), -webkit-transform .7s cubic-bezier(.19, 1, .22, 1);
}

.woocommerce-checkout-payment .p-CardIcons--error .p-CardErrorIcon,
.p-CardIcons--known-brand .p-CardKnownIcon {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.woocommerce-checkout-payment  .p-CardBrandIcons--hidden .p-CardBrandIcons-item {
    opacity: 0;
}

.woocommerce-checkout-payment .payment_method_kz .p-CardBrandIcons--hidden .p-CardBrandIcons-item {
    transition: opacity .6s cubic-bezier(.19, 1, .22, 1), -webkit-transform .6s cubic-bezier(.19, 1, .22, 1);
    transition: opacity .6s cubic-bezier(.19, 1, .22, 1), transform .6s cubic-bezier(.19, 1, .22, 1);
    transition: opacity .6s cubic-bezier(.19, 1, .22, 1), transform .6s cubic-bezier(.19, 1, .22, 1), -webkit-transform .6s cubic-bezier(.19, 1, .22, 1);
}

.woocommerce-checkout-payment .p-CardBrandIcons--multiple.p-CardBrandIcons--hidden .p-CardBrandIcons-item:nth-child(2) {
    -webkit-transform: translate(200%);
    -ms-transform: translate(200%);
    transform: translate(200%);
}

.woocommerce-checkout-payment .p-CardBrandIcons--multiple.p-CardBrandIcons--hidden .p-CardBrandIcons-item:nth-child(3) {
    -webkit-transform: translate(100%);
    -ms-transform: translate(100%);
    transform: translate(100%);
}


.woocommerce-checkout-payment .payment_method_kz .p-CardKnownIcon,
.p-CardIcons--known-brand .p-CardKnownIcon {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}



.woocommerce-checkout-payment .payment_method_kz .p-CardIcons--error .p-CardErrorIcon,
.payment_method_kz .p-CardIcons--known-brand .p-CardKnownIcon {
    transition-delay: .1s
}


.woocommerce-checkout-payment .p-CardIcons--error .p-CardKnownIcon {
    opacity: 0;
}

.woocommerce-checkout-payment .kz-row {
    margin-bottom: 1em !important;
}

.woocommerce-checkout-payment .p-FieldError {
    /* border: 2px solid #CA1919; */
    color: #CA1919;
    display: none;
}


.woocommerce-checkout-payment .p-CardCvcInput {
    position: relative;
}

.woocommerce-checkout-payment .p-CardCvcIcons,
.p-CardCvcIcons-group {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    bottom: 2px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
}

.woocommerce-checkout-payment .p-CardCvcIcons {
    background: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    pointer-events: none;
}

.woocommerce-checkout-payment .p-CardCvcIcons-group {
    will-change: transform;
}

.woocommerce-checkout-payment .c-InputPadding {
    padding: 10px 14px 10px 14px;
}

.woocommerce-checkout-payment  .p-CardCvcIcons-svg {
    display: block;
    height: 1.95em;
    width: 1.95em;
}

.woocommerce-checkout-payment .p-CardCvcIcons-svg.kz-svg {
    display: none;
}

.woocommerce-checkout-payment .p-CardCvcIcons-svg.kz-svg-show {
    display: block;
}

.woocommerce-checkout-payment .p-CardBrandIcons-more .p-CardBrandIcon:nth-child(1),
.p-CardBrandIcon:nth-child(2),
.p-CardBrandIcon:nth-child(3) {
    display: none;
}



@media (max-width: 420px) {
    .payment_methods .payment_box {
        padding: 10px;
    }

  .woocommerce-checkout-payment  .p-CardBrandIcons-more .p-CardBrandIcon:nth-child(1),
    .p-CardBrandIcon:nth-child(2),
    .p-CardBrandIcon:nth-child(3) {
        display: block;
    }

   .woocommerce-checkout-payment .kz>.p-CardBrandIcons-item:nth-child(2),
    .p-CardBrandIcons-item:nth-child(3),
    .p-CardBrandIcons-item:nth-child(4) {
        display: none;
    }

    /* .woocommerce form .form-row{
        margin-bottom: 0;
    } */
}

.woocommerce-checkout-payment .kz-label {
    display: block;
    margin-bottom: 5px;
    color: var(--wd-title-color);
    vertical-align: middle;
    font-weight: 400;
}

.woocommerce-checkout-payment .wc-credit-card-form {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    flex-wrap: wrap;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.woocommerce-checkout-payment .kz-row {
    padding: 0 !important;
}

.woocommerce-checkout-payment .row-kz {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    flex-wrap: wrap;
}

@media (min-width: 576px) {
   .woocommerce-checkout-payment .col-sm-6 {
        max-width: 49% !important;
        box-sizing: border-box;
    }

   .woocommerce-checkout-payment .form-row-last {
        margin-left: 2%;
    }
}

.woocommerce-checkout-payment  .payment_box>p {
    margin-bottom: 18px;
}

.woocommerce-checkout-payment .p-FieldError {
    margin-bottom: 0 !important;
}




.woocommerce-checkout-payment .col-xs-12 {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.woocommerce-checkout-payment .form-row-first {
margin-right: 0;
}

@media (min-width: 544px) {
   .woocommerce-checkout-payment .col-sm-12 {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) {
   .woocommerce-checkout-payment .col-sm-6 {
        max-width: 49% !important;
        box-sizing: border-box;
    }
}